package org.apache.dubbo.demo.example.eg19;

import org.apache.dubbo.common.URL;

public class BananaGranter implements FruitGranter {

  @Override
  public Fruit grant() {
    return new Banana();
  }

  @Override
  public String watering(URL url) {
    System.out.println("watering banana");
    return "watering success";
  }
}
